package com.globalresources.po;

import java.util.Date;

/**
 * MessageReceiver entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class MessageReceiver implements java.io.Serializable {

	// Fields

	private Integer id;
	private Message message;
	private User user;
	private Byte isReceive;
	private Byte isRead;
	private Byte isDelete;
	private Date sendTime;

	// Constructors

	/** default constructor */
	public MessageReceiver() {
	}

	/** full constructor */
	public MessageReceiver(Message message, User user, Byte isReceive, Byte isRead, Byte isDelete, Date sendTime) {
		this.message = message;
		this.user = user;
		this.isReceive = isReceive;
		this.isRead = isRead;
		this.isDelete = isDelete;
		this.sendTime = sendTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Message getMessage() {
		return this.message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Byte getIsReceive() {
		return this.isReceive;
	}

	public void setIsReceive(Byte isReceive) {
		this.isReceive = isReceive;
	}

	public Byte getIsRead() {
		return this.isRead;
	}

	public void setIsRead(Byte isRead) {
		this.isRead = isRead;
	}

	public Byte getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Byte isDelete) {
		this.isDelete = isDelete;
	}

	public Date getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

}